﻿using System;
using Model;
using Model.EF;

public partial class Index : System.Web.UI.Page
{
    public setting modelset = new setting();
    IRepository<setting> settingRepository = new EntityRepository<setting>();
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            modelset = settingRepository.FindById(1);            
        }
    }
}